package com.lzy.cloud.shop.service;

import com.github.pagehelper.PageInfo;
import com.lzy.cloud.shop.dto.ShopDto;
import com.lzy.cloud.shop.request.ShopRequest;
import com.lzy.framework.core.orm.db.Pager;

import java.util.List;

public interface ShopService {

    PageInfo selectAllShop(Pager pager, ShopDto shopDto);

    Long addShop(ShopDto shopDto);

    Boolean updateShop(ShopDto shopDto);

    ShopDto selectById(Long id);

    Boolean deleteById(Long id);

    String selectName(Long id);

    List<ShopDto> selectByIds(String ids);

    PageInfo<ShopDto> selectByCategoryId(Pager pager, Integer categoryId,ShopDto shopDto);
}